//
//  SXReadModel.m
//  ShiXun
//
//  Created by lanou on 15/10/28.
//  Copyright © 2015年 张琪. All rights reserved.
//

#import "SXReadModel.h"

@implementation SXReadModel

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"imgnewextra"]) {
        _imgnewextraArr = [NSMutableArray array];
        for (NSDictionary *dict in value) {
            [_imgnewextraArr addObject:dict[@"imgsrc"]];
        }
    }
    else
    {
        [super setValue:value forKey:key];
    }
}

@end
